package com.ruoyi.project.simple.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 广告对象 spl_advertising
 * 
 * @author zhujj
 * @date 2020-01-15
 */
public class SplAdvertising extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private Integer advertisingId;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 图片 */
    @Excel(name = "图片")
    private String cover;

    /** 类型（0-广告1-农业部认证2-服务说明3-猎弧一号—弧菌克星） */
    @Excel(name = "类型", readConverterExp = "0=广告,1=农业部认证,2=服务说明,3=猎弧一号—弧菌克星")
    private String type;
    /** 删除标志（0代表存在 9代表删除） */
    private String delFlag;

    public void setAdvertisingId(Integer advertisingId) 
    {
        this.advertisingId = advertisingId;
    }

    public Integer getAdvertisingId() 
    {
        return advertisingId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertisingId", getAdvertisingId())
            .append("title", getTitle())
            .append("cover", getCover())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
